<template>
  <div class="mcn-introduce-page">
    <!-- 导航栏 -->
    <el-header class="navbar">
      <div class="container">
        <div class="logo">
          <span class="logo-text">青书</span>
          <span class="logo-sub">qingbook</span>
        </div>
        
        <div class="nav-menu">
          <el-button class="mcn-btn" :style="{ backgroundColor: primaryColor, color: '#fff' }">
            MCN服务
          </el-button>
        </div>
      </div>
    </el-header>

    <!-- 主要内容区 -->
    <main class="main-content">
      <!-- 头部横幅 -->
      <section class="hero-banner" :style="{ backgroundColor: primaryColor }">
        <div class="container">
          <div class="banner-content">
            <h1>加入青书MCN，开启创作新旅程</h1>
            <p>一站式赋能创作者成长，实现内容价值最大化</p>
            <!-- 立即加入按钮 -->
            <div class="join-btn-container">
            <el-button 
              class="join-btn" 
              :style="{ backgroundColor: '#fff', color: primaryColor }"
              @click="$router.push('/MCN1')"
            >
              立即加入
              <i class="el-icon-arrow-right"></i>
            </el-button>
            </div>
          </div>
        </div>
        <div class="banner-bg-image"></div>
      </section>

      <!-- 合作优势 -->
      <section class="advantages-section">
        <div class="container">
          <div class="section-title">
            <h2>青书MCN合作优势</h2>
            <p>我们为创作者提供全方位支持，助力内容变现与成长</p>
          </div>
          
          <div class="advantages-grid">
            <el-card class="advantage-card">
              <div class="advantage-icon" :style="{ backgroundColor: primaryColor + '20' }">
                <i class="el-icon-money" :style="{ color: primaryColor }"></i>
              </div>
              <h3>商业变现</h3>
              <p>海量品牌合作资源，多样化变现渠道，提升创作收益</p>
            </el-card>
            
            <el-card class="advantage-card">
              <div class="advantage-icon" :style="{ backgroundColor: primaryColor + '20' }">
                <i class="el-icon-line-chart" :style="{ color: primaryColor }"></i>
              </div>
              <h3>流量扶持</h3>
              <p>官方流量倾斜，热门活动优先参与，助力内容曝光</p>
            </el-card>
            
            <el-card class="advantage-card">
              <div class="advantage-icon" :style="{ backgroundColor: primaryColor + '20' }">
                <i class="el-icon-education" :style="{ color: primaryColor }"></i>
              </div>
              <h3>专业培训</h3>
              <p>行业大咖指导，内容创作技巧培训，快速提升创作能力</p>
            </el-card>
            
            <el-card class="advantage-card">
              <div class="advantage-icon" :style="{ backgroundColor: primaryColor + '20' }">
                <i class="el-icon-shield" :style="{ color: primaryColor }"></i>
              </div>
              <h3>专属服务</h3>
              <p>一对一运营对接，内容审核绿色通道，版权保护支持</p>
            </el-card>
          </div>
        </div>
      </section>

      <!-- 合作流程 -->
      <section class="process-section">
        <div class="container">
          <div class="section-title">
            <h2>合作流程</h2>
            <p>简单四步，开启你的创作者合作之旅</p>
          </div>
          
          <div class="process-steps">
            <div class="step-item">
              <div class="step-number" :style="{ backgroundColor: primaryColor }">1</div>
              <div class="step-content">
                <h3>提交申请</h3>
                <p>填写合作申请表，上传你的原创作品</p>
              </div>
              <div class="step-line" :style="{ backgroundColor: primaryColor }"></div>
            </div>
            
            <div class="step-item">
              <div class="step-number" :style="{ backgroundColor: primaryColor }">2</div>
              <div class="step-content">
                <h3>资质审核</h3>
                <p>我们将在3个工作日内完成资料审核</p>
              </div>
              <div class="step-line" :style="{ backgroundColor: primaryColor }"></div>
            </div>
            
            <div class="step-item">
              <div class="step-number" :style="{ backgroundColor: primaryColor }">3</div>
              <div class="step-content">
                <h3>签约合作</h3>
                <p>审核通过后，签署合作协议</p>
              </div>
              <div class="step-line" :style="{ backgroundColor: primaryColor }"></div>
            </div>
            
            <div class="step-item">
              <div class="step-number" :style="{ backgroundColor: primaryColor }">4</div>
              <div class="step-content">
                <h3>开始合作</h3>
                <p>享受MCN机构专属权益与服务</p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- 成功案例 -->
      <section class="cases-section">
        <div class="container">
          <div class="section-title">
            <h2>成功案例</h2>
            <p>看看加入青书MCN的创作者们如何成长</p>
          </div>
          
          <div class="cases-grid">
            <el-card class="case-card">
              <div class="case-avatar">
                <img src="https://picsum.photos/id/64/200/200" alt="创作者头像">
              </div>
              <div class="case-info">
                <h3>旅行日记</h3>
                <p>专注于旅行攻略与风景分享</p>
                <div class="case-stats">
                  <span><i class="el-icon-user"></i> 粉丝 120万+</span>
                  <span><i class="el-icon-eye"></i> 阅读量 3000万+</span>
                </div>
              </div>
            </el-card>
            
            <el-card class="case-card">
              <div class="case-avatar">
                <img src="https://picsum.photos/id/65/200/200" alt="创作者头像">
              </div>
              <div class="case-info">
                <h3>美食探店</h3>
                <p>探寻城市隐藏美食与特色餐厅</p>
                <div class="case-stats">
                  <span><i class="el-icon-user"></i> 粉丝 85万+</span>
                  <span><i class="el-icon-eye"></i> 阅读量 2500万+</span>
                </div>
              </div>
            </el-card>
            
            <el-card class="case-card">
              <div class="case-avatar">
                <img src="https://picsum.photos/id/66/200/200" alt="创作者头像">
              </div>
              <div class="case-info">
                <h3>生活美学</h3>
                <p>分享生活中的美学与创意灵感</p>
                <div class="case-stats">
                  <span><i class="el-icon-user"></i> 粉丝 92万+</span>
                  <span><i class="el-icon-eye"></i> 阅读量 1800万+</span>
                </div>
              </div>
            </el-card>
          </div>
        </div>
      </section>

     

      <!-- 常见问题 -->
      <section class="faq-section">
        <div class="container">
          <div class="section-title">
            <h2>常见问题</h2>
            <p>关于青书MCN合作的常见疑问解答</p>
          </div>
          
          <el-collapse class="faq-collapse">
            <el-collapse-item title="加入青书MCN有什么要求？" name="1">
              <div class="faq-content">
                加入青书MCN需要您拥有原创内容创作能力，账号状态良好，无违规记录。不同领域有不同的粉丝量要求，一般情况下需要拥有至少1万以上真实粉丝。具体可提交申请后由我们的运营团队进行评估。
              </div>
            </el-collapse-item>
            
            <el-collapse-item title="合作后内容发布有什么限制？" name="2">
              <div class="faq-content">
                合作后您仍保留内容的创作自主权，青书MCN不会干涉您的创作方向。但需要遵守平台规则和法律法规，重要商业合作内容需提前与运营团队沟通。
              </div>
            </el-collapse-item>
            
            <el-collapse-item title="MCN会收取服务费用吗？" name="3">
              <div class="faq-content">
                青书MCN会根据不同的合作项目收取一定比例的服务费，具体比例会在合作协议中明确说明。对于优质创作者，我们会提供更优惠的合作条件。
              </div>
            </el-collapse-item>
            
            <el-collapse-item title="提交申请后多久能收到回复？" name="4">
              <div class="faq-content">
                我们会在收到您的申请后3个工作日内完成初步审核，并通过您预留的联系方式告知审核结果。如果审核通过，会安排专人与您对接后续合作事宜。
              </div>
            </el-collapse-item>
            
            <el-collapse-item title="合作期限是多久？可以解约吗？" name="5">
              <div class="faq-content">
                青书MCN的标准合作期限为1年，期满后双方无异议可自动续约。如果您希望提前解约，需提前30天书面通知，并根据合作协议履行相应义务。
              </div>
            </el-collapse-item>
          </el-collapse>
        </div>
      </section>
    </main>

    <!-- 页脚 -->
    <el-footer class="page-footer">
      <div class="container">
        <div class="footer-content">
          <div class="footer-logo">
            <span class="logo-text">青书</span>
            <span class="logo-sub">qingbook</span>
          </div>
          
          <div class="footer-contact">
            <div class="social-links">
              <a href="#" :style="{ color: primaryColor }"><i class="el-icon-weibo"></i></a>
              <a href="#" :style="{ color: primaryColor }"><i class="el-icon-wechat"></i></a>
              <a href="#" :style="{ color: primaryColor }"><i class="el-icon-qq"></i></a>
            </div>
          </div>
          
          <div class="contact-info">
            <p>客服电话：400-123-4567</p>
            <p>工作时间：周一至周五 9:00-18:00</p>
          </div>
        </div>
        
        <!-- 版权信息 -->
        <div class="copyright-container">
          <p class="copyright-text">© 2023 青书(qingbook) 版权所有</p>
        </div>
      </div>
    </el-footer>
  </div>
</template>

<script>
export default {
  name: 'McnIntroduce',
  data() {
    return {
      primaryColor: '#00B4AC', // 青书主色调
      form: {
        name: '',
        phone: '',
        field: '',
        workUrl: '',
        intention: ''
      }
    }
  },
  mounted() {
    console.log('MCN介绍页面初始化');
  }
}
</script>

<style scoped>
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 0 !important;
  position: relative;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  height: 40px;
}

.logo-text {
  color: v-bind(primaryColor);
  margin-right: 5px;
}

.logo-sub {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  height: 40px;
}

.mcn-btn {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 主要内容区样式 */
.main-content {
  background-color: #f9f9f9;
  position: relative;
}

/* 头部横幅样式 */
.hero-banner {
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-banner .container {
  text-align: center;
}

.banner-bg-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: url('https://picsum.photos/id/1048/1920/600');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.1;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 800px;
}

.hero-banner h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-align: center;
}

.hero-banner p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 立即加入按钮容器 - 确保按钮居中 */
.join-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.join-btn {
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 通用 section 样式 */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.section-title p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* 合作优势样式 */
.advantages-section .container {
  display: block;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.advantage-card h3,
.advantage-card p {
  text-align: center;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.advantage-icon i {
  font-size: 24px;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.advantage-card p {
  color: #666;
  line-height: 1.6;
}

/* 合作流程样式 */
.process-section {
  background-color: #fff;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 100px;
  right: 100px;
  height: 3px;
  background-color: v-bind(primaryColor);
  z-index: 1;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-content h3,
.step-content p {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.step-content p {
  color: #666;
}

.step-line {
  display: none;
}

/* 成功案例样式 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.case-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.case-info h3,
.case-info p,
.case-stats {
  text-align: left;
}

.case-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.case-info p {
  color: #666;
  margin-bottom: 10px;
}

.case-stats {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #888;
}

/* 申请加入样式 */
.application-section .container {
  display: block;
}

.application-content {
  max-width: 800px;
  margin: 0 auto;
}

.application-content h2,
.application-content p {
  text-align: center;
}

.application-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.submit-btn {
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
}

/* 常见问题样式 */
.faq-section {
  background-color: #fff;
}

.faq-collapse {
  max-width: 800px;
  margin: 0 auto;
}

.el-collapse-item__header {
  font-size: 16px;
  color: #333;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.faq-content {
  padding: 20px;
  color: #666;
  line-height: 1.6;
}

/* 页脚样式 */
.page-footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
  position: relative;
  width: 100%;
  height: auto;
  z-index: 10;
}

.page-footer .container {
  display: block;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-logo,
.footer-contact,
.contact-info {
  display: flex;
  align-items: center;
}

.footer-logo .logo-text {
  color: #fff;
  font-size: 24px;
  margin-right: 5px;
}

.footer-logo .logo-sub {
  color: #aaa;
  font-size: 14px;
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 20px;
  transition: all 0.3s ease;
}

.contact-info {
  color: #aaa;
  flex-direction: column;
  align-items: flex-start;
}

.contact-info p {
  margin: 5px 0;
  white-space: nowrap;
}

/* 版权信息容器 - 确保居中 */
.copyright-container {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.copyright-text {
  color: #aaa;
  font-size: 14px;
  text-align: center;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 80px 0 40px;
  }
  
  .hero-banner h1 {
    font-size: 32px;
  }
  
  .process-steps {
    flex-direction: column;
    gap: 30px;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .step-line {
    display: block;
    width: 40px;
    height: 3px;
    margin: 15px auto 0;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .contact-info {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .navbar {
    padding: 10px 0 !important;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .mcn-btn {
    font-size: 14px;
    padding: 6px 16px;
  }
}
</style>
